package com.example.chat.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.chat.pojo.dto.UserDTO;
import com.example.chat.pojo.bo.User;
import com.example.chat.pojo.res.ResModel;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 林邵晨
 * @since 2023-04-07
 */
public interface UserService extends IService<User> {

    ResModel register(UserDTO user);

    ResModel login(UserDTO user);

    ResModel getProfile(String cid);

    ResModel updateProfile(User user);

    boolean checkUser(String id);
}
